Commit 56f76ab1 authored by TokaKaram's avatar TokaKaram

change backend directory

parent a5332cf2
...@@ -3,10 +3,9 @@ ...@@ -3,10 +3,9 @@
"dockerfileLines": [ "dockerfileLines": [
"FROM node:22-alpine", "FROM node:22-alpine",
"WORKDIR /app", "WORKDIR /app",
"COPY package*.json ./ ",
"RUN npm install --production",
"COPY . .", "COPY . .",
"RUN cd backend && npm install --production",
"EXPOSE 5000", "EXPOSE 5000",
"CMD [\"node\", \"src/app.js\"]" "CMD [\"sh\", \"-c\", \"cd backend && node src/app.js\"]"
] ]
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment