Skip to content
Snippets Groups Projects
Commit c55d3ea8 authored by AlphaThrone's avatar AlphaThrone
Browse files

feat: docker-compose for react

parent 8b35398b
No related merge requests found
FROM node:18-alpine
WORKDIR /var/www/app
COPY package*.json /var/www/app
RUN npm install
COPY . /var/www/app
EXPOSE 3000
CMD [ "npm", "start" ]
\ No newline at end of file
version: '3.3'
services:
client-spa:
container_name: client_spa
build: .
ports:
- 3000:3000
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