add start.sh as command
This commit is contained in:
@@ -33,6 +33,9 @@ COPY --from=build-backend /go/src/github.com/umputun/remark/remark /srv/
|
||||
COPY --from=build-frontend /srv/web/public/ /srv/web
|
||||
RUN chown -R umputun:umputun /srv
|
||||
|
||||
ADD start.sh /srv/start.sh
|
||||
RUN chmod +x /srv/start.sh
|
||||
|
||||
USER umputun
|
||||
|
||||
WORKDIR /srv
|
||||
|
||||
+1
-1
@@ -42,4 +42,4 @@ services:
|
||||
#- ./web:/srv/web # uncomment to map web directory directly. It will propagate local changes to container without redeploy
|
||||
|
||||
user: ${USER} # if local UID != 1001 (default) set `USER` in your env, i.e. export USER=`id -u $USER`
|
||||
command: /srv/remark server
|
||||
command: /srv/start.sh
|
||||
|
||||
Reference in New Issue
Block a user