Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Commit

Permalink
ci: corrige la config docker
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisromain committed Mar 19, 2020
1 parent c108d1d commit 8d1af2b
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY index.js ./
COPY worker worker/
COPY lib lib/
COPY public public/
CMD npm run start
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const serveIndex = require('serve-index')
const port = process.env.NODE_PORT
const app = express()

const { titresAuth, titresGet } = require('./titres/index')
const { titresAuth, titresGet } = require('./lib/titres/index')

app.use(compression())

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion public-build/index.js → lib/public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const fileCreate = require('./_utils/file-create')
const directoryDelete = require('./_utils/directory-delete')
const directoryCreate = require('./_utils/directory-create')
const definitions = require('./definitions')
const EXPORT_DIRECTORY = '../public/geojson/'
const EXPORT_DIRECTORY = '../../public/geojson/'

const domainesCouleurs = {
m: '#498bd6',
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"main": "index.js",
"scripts": {
"build": "node --no-warnings ./public-build/index.js",
"build": "node --no-warnings ./lib/public/index.js",
"dev": "onchange '**/*.js' -i -k -- npm run build",
"start": "npm run build & node ./index.js",
"commit": "npx git-cz",
Expand Down

0 comments on commit 8d1af2b

Please sign in to comment.