model_performance / build.dat
William Gunnells
initial build
1d535d8
FROM node:16-alpine
RUN npm install -g nodemon
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
EXPOSE 3000
RUN npm run build
RUN npm install -g serve
#CMD ["npm", "run", "dev"]
#CMD ["npm", "start"]
CMD ["serve", "-s", "build"]
SHELL = /usr/bin/env bash
IMAGE=831603647943.dkr.ecr.us-west-2.amazonaws.com
all: build dev1 prod
test: build
build:
docker buildx build --platform=linux/x86_64 -t dockerui -f Dockerfile .
#!/bin/bash
docker run -p 127.0.0.1:8000:3000 -d -it dockerui