e5828ad1bf
- apply prettier style on every js file - remove mutation on immutable variables - remove wrapper on top of axios - fix form handling - remove useless port definition in dockerfile Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
15 lines
244 B
Docker
15 lines
244 B
Docker
FROM node:lts-buster-slim
|
|
|
|
# Create app directory
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json /usr/src/app/package.json
|
|
COPY package-lock.json /usr/src/app/package-lock.json
|
|
RUN npm ci
|
|
|
|
COPY . /usr/src/app
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD [ "npm", "run", "dev" ]
|