Skip to content

Commit efbca7b

Browse files
committed
Add Dockerfile for FSA
1 parent feba38c commit efbca7b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

binary/FSA/server/Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM alpine
2+
RUN apk add --no-cache gcc
3+
RUN apk add --no-cache socat
4+
RUN apk add libc-dev
5+
6+
WORKDIR /app
7+
COPY . .
8+
9+
RUN gcc -o echo echo.c
10+
11+
EXPOSE 8080
12+
13+
CMD ["socat", "TCP4-LISTEN:8080,fork", "EXEC:/app/echo"]

0 commit comments

Comments
 (0)