This commit is contained in:
2021-08-29 20:18:54 +09:00
parent 67c75578e5
commit a823fafc09
3 changed files with 7 additions and 6 deletions

View File

@@ -5,13 +5,13 @@ COPY . .
RUN ["./build_script.sh"]
FROM node:14
FROM arm32v7/node:14
WORKDIR /usr/src/app
COPY --from=0 /tmp/build .
RUN apt-get update && apt install mariadb-client -y
RUN npm install
EXPOSE 8080
EXPOSE 4000
CMD [ "node", "server/index.js" ]