Skip to content

Commit

Permalink
Switch to Alpine
Browse files Browse the repository at this point in the history
77mb vs. 3.6mb :D
  • Loading branch information
TooTallNate committed Apr 28, 2018
1 parent e408844 commit 9fbde4e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM ubuntu
RUN apt-get update && apt-get install -y socat
WORKDIR /app
FROM alpine:3.6
RUN apk add --no-cache bash socat
COPY . .
EXPOSE 8080
CMD socat TCP4-LISTEN:8080,fork EXEC:$PWD/bashttpd
CMD ["socat", "TCP4-LISTEN:8080,fork", "EXEC:/bashttpd"]

0 comments on commit 9fbde4e

Please sign in to comment.