This website works better with JavaScript.
首頁
探索
說明
登入
writefreely
/
writefreely
镜像来自
https://github.com/writefreely/writefreely.git
關註
2
收藏
0
複製
0
程式碼
問題管理
版本發佈
25
Wiki
Activity
瀏覽代碼
switched to much smaller alpine image since golang not required at runtime
pull/34/head
Brad Koehn
5 年之前
父節點
5039853edc
當前提交
f2a07db23a
共有
1 個文件被更改
,包括
3 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
Dockerfile
+ 3
- 2
Dockerfile
查看文件
@@ -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…
取消
儲存