13 lines
246 B
Docker
13 lines
246 B
Docker
FROM node:16
|
|
WORKDIR /usr/src/app
|
|
COPY package*.json /usr/src/app
|
|
RUN npm install
|
|
COPY . /usr/src/app
|
|
RUN npm run build
|
|
RUN npm run build:tailwind
|
|
RUN npm run build:fontawesome
|
|
RUN chown -R 1000690000:0 "/.npm"
|
|
EXPOSE 5000
|
|
CMD ["npm", "start"]
|
|
|