Skip to content

Commit 14f76ec

Browse files
committed
fix: copy email templates to dist during build
1 parent 5dda0b5 commit 14f76ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/dist-mono/server.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ WORKDIR /app/server
1919

2020
COPY server ./
2121

22-
2322
RUN npm install
2423

2524
RUN npm run build
25+
RUN cp -r src/templates dist/templates
2626

2727
COPY --from=frontend-build /app/client/dist ./public
2828

2929
RUN chmod +x ./scripts/inject-vars.sh
3030

3131
EXPOSE 52345
3232

33-
CMD ./scripts/inject-vars.sh && node ./dist/index.js
33+
CMD ./scripts/inject-vars.sh && node ./dist/index.js

0 commit comments

Comments
 (0)