mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
debug: debug Dockerfile
This commit is contained in:
parent
4e0562a2db
commit
7f432d40ec
1 changed files with 7 additions and 3 deletions
10
Dockerfile
10
Dockerfile
|
@ -4,15 +4,19 @@ WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN yarn --pure-lockfile
|
RUN yarn --pure-lockfile
|
||||||
RUN yarn run build
|
RUN yarn run build:server
|
||||||
|
RUN yarn run build:static
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
||||||
FROM node:16-alpine
|
FROM node:16-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app /app
|
COPY --from=builder /app/package.json /app/package.json
|
||||||
RUN rm -r /app/node_modules
|
COPY --from=builder /app/dist /app/dist
|
||||||
|
COPY --from=builder /app/content /app/content
|
||||||
|
COPY --from=builder /app/views /app/views
|
||||||
|
COPY --from=builder /app/static /app/static
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue