mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 10:33:02 -05:00
Adjust file handling in Docker build process
This commit is contained in:
@@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y openssl
|
||||
RUN mkdir /app
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ADD . .
|
||||
ADD yarn.lock package.json ./
|
||||
RUN yarn install --production
|
||||
|
||||
FROM node:16-bullseye-slim as prod
|
||||
@@ -12,4 +12,5 @@ FROM node:16-bullseye-slim as prod
|
||||
RUN apt-get update && apt-get install openssl && apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /app
|
||||
COPY --from=base /app /app
|
||||
ADD . .
|
||||
CMD ["yarn", "start"]
|
||||
|
||||
Reference in New Issue
Block a user