Skip to content

Commit

Permalink
Make a significantly smaller image
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorpangloss committed Sep 25, 2018
1 parent eccb1e1 commit 0dc95e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ ENV FREECIV_WEB_SERVER_CAPACITY_PBEM=1
ENV FREECIV_WEB_SERVER_IDLE=20
# The maximum number of games to run
ENV FREECIV_WEB_SERVER_LIMIT=999

# Runtime prefix (in case you want to run services locally, this can be changed
ENV FREECIV_RUNTIME_PREFIX=/docker

# Remove unneeded files and folders
RUN rm -rf /docker/music /docker/blender /docker/freeciv-web /docker/freeciv

EXPOSE 80
3 changes: 2 additions & 1 deletion Dockerrun.aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"ContainerPort": "80"
}
],
"Logging": "/var/log"
"Logging": "/var/log",
"Image": "doctorpangloss/freeciv-web:latest"
}

0 comments on commit 0dc95e3

Please sign in to comment.