Add volume support to allow loader to pass data to server.
This commit is contained in:
@@ -32,6 +32,8 @@ COPY --from=frontend /frontend/dist /srv/cprush-stats/frontend
|
||||
COPY --from=backend /backend/dist /srv/cprush-stats
|
||||
COPY --from=backend /backend/package.json /srv/cprush-stats/package.json
|
||||
|
||||
VOLUME /srv/cprush-stats/data
|
||||
|
||||
EXPOSE 3001
|
||||
ENV NODE_ENV=production
|
||||
ENV MEMCACHE_ADDR="localhost:11211"
|
||||
|
||||
Reference in New Issue
Block a user