This website works better with JavaScript.
Home
Explore
Help
Sign In
writefreely
/
writefreely
mirror of
https://github.com/writefreely/writefreely.git
Watch
2
Star
0
Fork
0
Code
Issues
Releases
25
Wiki
Activity
Browse Source
switched to much smaller alpine image since golang not required at runtime
pull/34/head
Brad Koehn
5 years ago
parent
5039853edc
commit
f2a07db23a
1 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
Dockerfile
+ 3
- 2
Dockerfile
View File
@@ -20,12 +20,13 @@ RUN mkdir /stage && \
/go/src/app/keys \
/stage && ls -l /stage
FROM
golang:1.11.2-
alpine3.8
FROM alpine
:
3.8
COPY --from=build --chown=daemon:daemon /stage /go
WORKDIR /go
VOLUME /go/keys
EXPOSE 8080
USER daemon
CMD ["writefreely"]
CMD ["
bin/
writefreely"]
Write
Preview
Loading…
Cancel
Save