webpack.config.js \\r
.babelrc \\r
.\r
-COPY translations translations\r
+COPY lemmy-translations lemmy-translations\r
COPY src src\r
\r
RUN yarn\r
-RUN yarn build\r
+RUN yarn build:prod\r
\r
# Pruning\r
# RUN npm prune --production\r
COPY --from=builder /usr/src/app/node_modules /app/node_modules\r
\r
EXPOSE 1234\r
-CMD node /app/dist/js/server.js\r
+WORKDIR /app\r
+CMD node dist/js/server.js\r