added docker

This commit is contained in:
CHIEFSOFT\ameye
2024-06-14 17:40:37 -04:00
parent e2319135be
commit d0a1b8f420
5 changed files with 69 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
DIGIFI_PORT=5173
# Social Links
FACEBOOK_URL=https://www.facebook.com
TWITTER_URL=https://twitter.com
INSTAGRAM_URL=https://www.instagram.com
# BACKEND END POINTS
VITE_USERS_ENDPOINT='https://digifi-apidev.chiefsoft.net/digiusers/v1'
+9
View File
@@ -0,0 +1,9 @@
DIGIFI_PORT=5173
# Social Links
VITE_FACEBOOK_URL=https://www.facebook.com
VITE_TWITTER_URL=https://twitter.com
VITE_INSTAGRAM_URL=https://www.instagram.com
# BACKEND END POINTS
VITE_USERS_ENDPOINT='https://digifi-apidev.chiefsoft.net/digiusers/v1'
+9
View File
@@ -0,0 +1,9 @@
DIGIFI_PORT=5173
# Social Links
FACEBOOK_URL=https://www.facebook.com
TWITTER_URL=https://twitter.com
INSTAGRAM_URL=https://www.instagram.com
# BACKEND END POINTS
VITE_USERS_ENDPOINT='https://digifi-apidev.chiefsoft.net/digiusers/v1'
+19
View File
@@ -0,0 +1,19 @@
# FROM node:erbium
# pull the base image
# FROM node:alpine
FROM node:18-alpine
WORKDIR /app
COPY package.json .
RUN npm install
COPY . .
# RUN npm run build
# CMD [ "npm", "run", "preview" ]
CMD [ "npm", "run", "dev" ,"--", "--host"]
+23
View File
@@ -0,0 +1,23 @@
version: '3'
services:
digifi-employer2:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
volumes:
- ./:/app
- '/app/node_modules'
ports:
- 6036:5173
expose:
- "5173"
extra_hosts:
- digifi-apidev.chiefsoft.net:10.10.33.15
- backend.wrenchboard.api.test:10.10.33.15
environment:
- PORT=${DIGIFI_PORT}
tty: true
stdin_open: true
volumes:
src: